Expand file paths in #copy and #new.
Merge pull request #25 from minad/expand_paths

Expand file paths in #copy and #new.