anchor.diff:  cp_r(Sources, Dest) ->
       case os:type() of
           {unix, _} ->
  -            QuotedSources = ["\"" ++ Src ++ "\"" || Src <- Sources],
  -            SourceStr = string:join(QuotedSources, " "),
  +            EscSources = [escape_spaces(Src) || Src <- Sources],
  +            SourceStr = string:join(EscSources, " "),
               {ok, []} = rebar_utils:sh(?FMT("cp -R ~s \"~s\"",
                                              [SourceStr, Dest]),
                                         [{use_stdout, false}, return_on_error]),
  
positive.code: mv(Source, Dest) ->
      case os:type() of
          {unix, _} ->
              {ok, []} = rebar_utils:sh(?FMT("mv \"~s\" \"~s\"", [Source, Dest]),
                                        [{use_stdout, false}, return_on_error]),
              ok;
          {win32, _} ->
  
negative.code: rm_rf(Target) ->
      case os:type() of
          {unix, _} ->
              EscTarget = escape_spaces(Target),
              {ok, []} = rebar_utils:sh(?FMT("rm -rf ~s", [EscTarget]),
                                        [{use_stdout, false}, return_on_error]),
              ok;
  