Better error handling when handling file streams.
Bumped to version 0.2.3