Fix generator for users upgrading from Rapns. Fixes #59.