qcommon: clean up & unique file header