fixes log-region

stuck in an extra test that `site ~= nil` before writing; which catches
the error and also confines the script to fort mode - fortunate since
the output only make sense for fort mode.