Compute the target path separately

gsub is returning an Enumerator.  Yuck.