Fix the definition of gen/byte.

Also adds a bunch of sanity checks to the basic generators to avoid
stuff like this in the future.
Merge pull request #27 from aphyr/fix-bytes

Fix bytes