Use a custom editor for changing files in tests

sed's arguments do not work cross-platform
[travis] Switch to 1.9 for Rubinius