Allow pipe fd to be inherited under Ruby 2.0