write pkg file.
Minor fix for package conventions.