Expand file paths in #copy and #new.