Change sync fs calls to use assert style return values and errors
Style fix
Merge pull request #55 from luvit/error-of-good-report

Change sync fs calls to use assert style return values and errors
Strictly check type on booleans
Fix for windows