   If suffix is a file extension, it should include the leading period,
   e.g., \".txt\"
 
-  If dir is specified (string or File), the temporary file will be
+  If dir is specified (String or File), the temporary file will be
   created in that directory; otherwise it will be in the
   system-default temporary directory."
   ([]

	[clojure.java.io :only (file)])
  (:import (java.io File)))

(deftype TempFileContext [name suffix dir ^{:tag File :unsynchronized-mutable true} f]
  Context
  (setup [this] (set! f (File/createTempFile name suffix dir)))

     (let [dir (if (nil? dir) dir (file dir))]
       (stateful (TempFileContext. prefix suffix dir nil)))))

;; You don't create instances of this; use the temp-dir function.
(deftype TempDirContext [name dir ^{:tag File :unsynchronized-mutable true} f]
  Context
  (setup [this]
