Improves folder handling (#16)

If a dest was on the same path as src, instead of replacing original files the task was creating the complete dest path inside dest (src: foo/bar/*.txt, dest: foo/bar/, result: foo/bar/foo/bar/file.txt).