Additional file handling

- Program now takes a directory of templates to process instead of a
single file
Logging Fixes

- appended l/d to logs/dumps in case file fuzzed has a .log or .dmp
extension
- Templates are now randomly selected
- Improved readability of logging code