Make fs test more portable so it can run on linux