Issue #2271229 by recrit: Allow file replacement extensions for the same file type