Java String constructed from byte array has bad length http://stackoverflow.com/questions/12730007/java-string-constructed-from-byte-array-has-bad-length