* src/include/lib.h: Added xtmptemplate and made xtmpfile