Updated CLI to allow explicit naming of the output file.
(Useful for IDEs using file watchers such as WebStorm/PhpStorm)