works if only one dir needs to be created, fails for nested dirs, because we don't support recursive mkdir at the moment