Fixing file extension