invert error check for POSIX filesytem functions

Fixes #104
Land #106, invert FS function check