Python Open Binary File For Read And Write