renaming to correct file extension