elliptics: switched read/write functions to use []byte instead of string to avoid unneeded copies