A makedirs command seems generally useful