fix access calls

for some reason, linux version of fuse does not call access functions,
but OSX version does. This should fix them and enable mounting on OSX.