diff --git a/BuildBox/Command/File.hs b/BuildBox/Command/File.hs
--- a/BuildBox/Command/File.hs
+++ b/BuildBox/Command/File.hs
@@ -154,8 +154,18 @@
  = do	tmp	<- newTempFile
 	io $ writeFile tmp str
 	e <- io $ try $ renameFile tmp filePath
+
+	-- renameFile may not be able to rename files across physical devices, 
+	-- depending on the implementation. If renameFile fails then try copyFile.
 	case (e :: Either SomeException ()) of
-	 _	-> return ()
+	 Right _ 	   
+ 	  -> return ()
+
+	 Left _
+ 	  -> do	io $ copyFile tmp filePath
+		io $ removeFile tmp
+		return ()
+
 
 -- | The file extension for an executable on the current system.
 exe :: String
diff --git a/buildbox.cabal b/buildbox.cabal
--- a/buildbox.cabal
+++ b/buildbox.cabal
@@ -1,5 +1,5 @@
 Name:                buildbox
-Version:             2.1.3.2
+Version:             2.1.4.1
 License:             BSD3
 License-file:        LICENSE
 Author:              Ben Lippmeier
