adding configuration file path to header comments in compiled files if possible, closes #856 and refs #850