fork failing when calling initialize_dup

initialize_dup has been made private as of ruby 2.0.0. I have
corrected it to call the publicly available dup method
Merge pull request #3829 from amacarthur/ruby2-fork-fix

fork failing when calling initialize_dup