Fixed issue with path of output dir.