Fixed bug with directory creation