Fix EEXIST emission

Fix EEXIST emission

diff --git a/lib/mobystash/system.rb b/lib/mobystash/system.rb
index b1164ca..043511e 100644
--- a/lib/mobystash/system.rb
+++ b/lib/mobystash/system.rb
@@ -158,7 +158,7 @@ module Mobystash
     end
 
     def write_state_file
-      File.open("#{@config.state_file}.new", File::WRONLY | File::CREAT | File::TRUNC | 0600) do |fd|
+      File.open("#{@config.state_file}.new", File::WRONLY | File::CREAT | File::TRUNC, 0600) do |fd|
         fd.write Marshal.dump(container_state)
         fd.fdatasync
       end

GitHub sha: 83a2850a