tweaked bytestring to/from string operations
more bytestring tweaks