diff --git a/Control/Shell.hs b/Control/Shell.hs
--- a/Control/Shell.hs
+++ b/Control/Shell.hs
@@ -29,7 +29,7 @@
   , withFile, withBinaryFile, openFile, openBinaryFile
 
     -- * Working with temporary files and directories
-  , FileMode
+  , FileMode (..)
   , withTempFile, withCustomTempFile
   , withTempDirectory, withCustomTempDirectory
   , inTempDirectory, inCustomTempDirectory
diff --git a/shellmate.cabal b/shellmate.cabal
--- a/shellmate.cabal
+++ b/shellmate.cabal
@@ -1,5 +1,5 @@
 name:                shellmate
-version:             0.3.2
+version:             0.3.2.1
 synopsis:            Simple interface for shell scripting in Haskell.
 description:         Aims to simplify development of cross-platform shell scripts and similar things.
 homepage:            https://github.com/valderman/shellmate
@@ -31,7 +31,7 @@
     Control.Shell.Color
   build-depends:
     base         >=4.8  && <5,
-    transformers >=0.3  && <0.5,
+    transformers >=0.3  && <0.6,
     bytestring   >=0.10 && <0.11,
     filepath     >=1.3  && <1.5,
     process      >=1.1  && <1.5,
