Python Open Error Handling Power