Fixed recursive directory creation