Workaround for issue with File.file? always returning false for symlinks