Fixed the file queuing logic and fixed the Travis build
Merge pull request #13 from LaurentGoderre/fix-broken-travis

Fixed the file queuing logic and fixed the Travis build