Make generator work with `yo` v1.0.5+

@sindresorhus same problem as h5bp/generator-h5bp#11 / h5bp/generator-h5bp#12