(bug 40326) Check if files exist with a different extension during