Fixes CS-4784

Applies the patch provided by Victor for correctly backing up directories that are symlinked.