Improve byte array to string conversions