fix Pathname#dup by defining #initialize_copy

* closes GH #1209