use built-in functionality of dart to recursivly create directories