model generator should use Integer instead of Fixnum

Fixes #394