Add a new option (--output-dir-mode)

It allows a user to specify the permission mode of the report's new directory
(per an idea from Michael Arlt).