A pure PHP implementation to dump a MySQL table into a SQL file.