How To Create A Binary File In Python