Java Outputstream To Byte Array Python Question