Handle directory creation manually during rake tasks.