anchor.diff:                    end, filelib:wildcard(Source)),
       ok.
   
  -escape_spaces(Str) ->
  -    re:replace(Str, " ", "\\\\ ", [global, {return, list}]).
  +escape_path(Str) ->
  +    re:replace(Str, "([ ()?])", "\\\\&", [global, {return, list}]).
  
positive.code: mv(Source, Dest) ->
      case os:type() of
          {unix, _} ->
              EscSource = escape_spaces(Source),
              EscDest = escape_spaces(Dest),
              {ok, []} = rebar_utils:sh(?FMT("mv ~s ~s", [EscSource, EscDest]),
                                        [{use_stdout, false}, abort_on_error]),
              ok;
  
negative.code: cp_r(Sources, Dest) ->
      case os:type() of
          {unix, _} ->
              EscSources = [escape_path(Src) || Src <- Sources],
              SourceStr = string:join(EscSources, " "),
              {ok, []} = rebar_utils:sh(?FMT("cp -R ~s \"~s\"",
                                             [SourceStr, Dest]),
  