Check that the output directory is not inside the input directory.