metarefresh: Fix creation of output directory.
metarefresh: Fix creation of output directory.

Patch created by Thijs Kinkhorst <thijs@kinkhorst.com>.

Fixes issue 296.

madmatt/saml2,sgomez/saml2,sitya/saml2,simplesamlphp/saml2,newmen/saml2,cb8/saml2,ArtemTeleshev/php-saml2