Convert XML header from bytes to string Fixed #32