Fixes some code comments.
Fixes another code comment.
Fixes Config.validate() to create the directory of the output
file, if it does not exist.