add doctype declaration to file