Properly escape '_' in native method stubs.