Add logging and default values.

* Write PDF file with indicated basename.
* Add message logging when removing existent PDF to avoid name collision.
* Fix ``keep_pdf_files`` setting name since it was not being loaded correctly from settings.
* Fix default values checking.
Add ignore rule for ViM files.