return false if new file couldn't be renamed