Fixed mysqldump command order so that $arguments parameter correctly comes after $database