strip trailing slash if present
include chroot support for const_file syncing - Issue #22