Attached check_frozen decorator to String#slice_i