renaming file to .php extension