Make rename-this-file-and-buffer work when file is still unsaved