Mysql Write File To Disk