Fix the --png utility command. Closes #6845.
Merge pull request #6847 from pchote/fix-utility

Fix the --png utility command.