fixed data corruption when input data contains NULL characters.
Merge branch 'master' of https://github.com/darwinop-ens/darwin-op