268bfccd28
Apparently, xsltproc recognizes a directory if it has a '/' at the end of its path, and not by doing the sensible thing and stat()'ing the argument for the --output option.