add dirMode param to dest and symlink, closes #36