Tests and refactoring for _save_progress().
Fixed an exception in _seek_sincedb_position.

Previously, the method would fail with an exception if there is whitespace in the logfile's name.