Warn on error renaming file