safe sed for ~/.rvmrc in tests