Fix Pathname#dup by defining #initialize_copy

* Missed a line in the previous commit 157291d5.
* Fixes #1029.