mapi: move genCommon.py to src/mapi/new