Fixing output directory.