Use Application.format_reason when formatting application exits
Print all errors in case of missing files, closes #2239