Refactor file writing - information on our use of Perl and Perl modules This includes a start on how to install missing modules. Reviewed-by: Rich Salz <rsalz@openssl.org>