Convert Fileinputstream To String Python