Fixed *Catch all fileIO Exceptions, not only the one when flushing*