Create Byte Array From Inputstream Readline Python