* diagnostic.c (trim_filename, fancy_abort): Moved here from