Make all necessary output subdirs.