makecat.py: moved away from catlib.

Change-Id: Ibdbbda3805bbf7b4f6e6725c9eb4fd2c37741ca2