Make str_modify public

It is needed to make string operations in gems.