add outfile option

using regular shell redirection has some issues with logrotate that I'm
trying to work around.