create intermediate directories in bootstrap