fix RubyFile#rename when the source is a broken symlink