allow usage of subprocess without rails

The monkey-patch method stringify_keys of Hash
is only defined in a rails environment.