It's the IPS file that's glitched up. I've tried making custom name for him (gary) on the ROM (the edited one, not patched) and it worked. I'll remake a new patch in a few mins.
EDIT: Or maybe it's the ROM... I patched a ROM with the first ips patch and the custom name worked for me too.... What version of FR d'you have? 1.0 or 1.1?