Refactor mysqldump command to a helper method to ensure suffix