Output directory fix.