Use creates attribute for DH parameter file generates instead of the unless attribute. This will be less hacky and more platform independent