wks: Create sub-directories
* tools/wks-util.c (wks_compute_hu_fname): Stat and create directory if needed.