Handle symlinks correctly in fm_file_info_set_from_native_file()

When we test if file is a directory we should not test file itself but
symlink target instead. It was incorrect and commit fixes that.