Fixing file extensions