Helper script to generate a .map file.