fix binary-io string load/dump methods