renaming file. double dot extension bug