tiny revision

- CHG : print error when the output directory does not exist.