Fix bug falling through to link_file if symlink existed