Add show_backtrace_in_fatal
Write 'reopen' log directly to avoid ThreadError

Logger makes lock, so it can't be called from trap context.