Format a diff file to Word or HTML output