Move translation header generation before creating potfile.in