Python Write List To Binary File