fixing file extension