Fix exception message on command not found.

Running the export extension without OptiPNG with default settings was barfing badly. This just fixes the system call with a try-catch clause that will allow the intended error message to be returned.