Report any IOException while writing to caller instead of ignoring it
Merge pull request #30 from javabean/develop

Report any IOException while writing to caller instead of ignoring it