Fixed #22257 -- Added file output option to dumpdata command.
Merge pull request #2465 from coder9042/ticket_22258

Fixed #22257 -- Added file output option to dumpdata command.