now supports reading and writing from/to streams. Bump version.