add optional (but for now, ignored) flags to Dir.glob and FileUtils.cp_r

Closes #182