Convert Fileinputstream To Byte Array To String In Python