Portable temporary file and directory support
