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