fixing file extensions.