Python With Open Error Handling