Fixing ugly code in fs.copyTree(source, dest)