Replace mkdir with mkpath to address #58
add double quotes as per doco #58