doc: Escape file names in generated macros.