COPY-FILE now returns output pathname