Update getBytes. Remove unicode support.