updated mysqldump function to remove --routines from old mysqldump versions