tempfile module + passing parameters to the XSL

* Using tempfile module, instead of a custom temp file creation function which isn't reliable
* adding an argument (-p or --paramater) to pass parameters to the XSL stylesheet, if needed