in FileUnix _getFileStat, make sure we don't have flags set mistakenly