Fixing the XML parser to work on binary data without caring about encoding
Fixing introduced XML parser bug in str -> bytearray transition