Fixed writing to the mail-XXX dump file
Adding version of PERL to mitigate the deprecated issues with the
Mail::Field Module.

Also switching backto <STDIN> for now.