Handle no datasets.
Add archive option.
Fix mode.
Deal with the path a little better.
Refactor and handle some finally cases better.
Add a comment.
Merge pull request #20 from ximenesuk/dir-importer-archive

Auto-importer improvements