diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -77,10 +77,12 @@
   pool     <- MSem.new jobs'
   tempPath <- processHoos pool chunks' hoos
 
-  shelly $ verbosely $
-    mv tempPath $ fromText $ case outfile opts of
-                               "" -> "default.hoo"
-                               x  -> T.pack x
+  shelly $ verbosely $ do
+    let outputPath = fromText $ case outfile opts of
+                                  "" -> "default.hoo"
+                                  x  -> T.pack x
+    rm_f outputPath
+    mv tempPath outputPath
 
 processHoos :: MSem.MSem Int -> Int -> [FilePath] -> IO FilePath
 processHoos pool size hoos
diff --git a/rehoo.cabal b/rehoo.cabal
--- a/rehoo.cabal
+++ b/rehoo.cabal
@@ -1,6 +1,6 @@
 Name: rehoo
 
-Version:  0.1.0
+Version:  0.1.1
 Synopsis: Rebuild default.hoo from many .hoo files in the current directory
 
 Description: Rebuild default.hoo from many .hoo files in the current directory
