Fixes wrong subfolder creation in hourly/daily/weekly folder

The check in move_to which ensures the destination folder exist checks for the whole destination path. Therefore it generates a directory in the destination folder named after the file and puts it inside this folder.
Merge pull request #7 from Aentfs/master

Fixes for the Issues #4 and #6