Make sure that you are connected to high-speed Internet while renaming any file on your device. Rename the file when it is downloading or after downloading it. If still, you are not able to do this then, restart your phone and try again.