Convert Fileinputstream To Byte Array In Python Problem