Fixed bug when filtering out special directories . and .. when listing directoris
Fixed bug when filtering / from enclosed sources
Added usage of a lockfile to secure access to the destination