added sanity checking to file system operations
added assertion on save step of the remove() unit test - this hid an error where the entry was not saved because of lack of fs sanity checking
Merge pull request #6 from StephenCWan/master

Added support for filesystem sanity checking