refactor File.replace_ext

2 jobs for main