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