make sure to recursively create the entire directory path
update to 0.3.9