Datomic config file overwrite

Overwrite changes on config write. Prevent crashes and also replace any
local changes by the deployment one.

Also removed a few print statement.