Write a magic number into IPK packages