implement ensure parameter for datacat defined type

since datacat manages a file, it can be useful, for symmetry to pass an
ensure parameter down to that file.