Creating Binary File In Python