Make filetype tests succeed even when local uid == 9000

My UID on my development system is 9000, which was making these tests
fail, because 9000 is used as the fake UID as well.
Merge pull request #1576 from djmitche/fix-filetype-tests

Make filetype tests succeed even when local uid == 9000