Fix a deprecation warning as a result of the 4.02 safe-string patch