Python Write Variable To Disk