Add handling of rotated and compressed files

* manage files rotated to "filename.1.gz"
* add management of files rotated and compressed immediately
* fix tests and their execution (travis, tox)