Add investigatory error handling to reader and writer streams
Bump version to 0.5.1