Fix misnamed makedirs call