Fix: undefined constant WT_PERM_FILE when creating temporarily data file.

This constant doesn't exists anymore in wt 1.6.0.