diff --git a/IHaskell/Display/Charts.hs b/IHaskell/Display/Charts.hs
--- a/IHaskell/Display/Charts.hs
+++ b/IHaskell/Display/Charts.hs
@@ -37,7 +37,7 @@
   mkFile opts filename renderable
 
   -- Convert to base64.
-  imgData <- fmap Char.pack $ readFile filename
+  imgData <- Char.readFile filename
   return $
     case format of
       PNG -> png width height $ base64 imgData
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,2 +1,3 @@
-import Distribution.Simple
+import           Distribution.Simple
+
 main = defaultMain
diff --git a/ihaskell-charts.cabal b/ihaskell-charts.cabal
--- a/ihaskell-charts.cabal
+++ b/ihaskell-charts.cabal
@@ -7,7 +7,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.3.0.0
+version:             0.3.0.1
 
 -- A short (one-line) description of the package.
 synopsis:            IHaskell display instances for charts types
@@ -52,13 +52,9 @@
   
   -- Modules included in this library but not exported.
   -- other-modules:       
-  
-  -- Language extensions.
-  default-extensions: DoAndIfThenElse
-              OverloadedStrings
              
   -- Other library packages from which modules are imported.
-  build-depends:       base >=4.6 && <4.9,
+  build-depends:       base >=4.6 && <5,
                        bytestring,
                        data-default-class,
                        directory,
