Merge pull request #29 from aelgru/master

Measuring time for performance tweaking.
Bugfix: do not perform filtering on files with encoding "unknown-8bit".

This is a quickfix.