support underscores in symbols when converting between ruby hash syntax versions

I have no idea why ruby-mode doesn't consider _ a word character.

Maybe there's a better way to fix this, but it works (tm).