error_handler is initialized only if path set but not writable. Would produce a notice in other cases