It'd be better to make it consistent, for example always use `param.data_dir` here, and set up the correct default value in `pdf2htmlEX.cc`