minor: making sure directories exist