Make directories before conversion