Updated OptimizeCommand to use dumpOptimized

Actually use the optimized dump-autoload instead of the regular.