fix for method copy-recursive to allow absolute paths