Replace IOException with FileSystemException

Fixes #30