Fixed uncaught OSError