Python Create File From Binary