add '.' as default for directory in mk and rm