Do not overwrite unchanged files

The account key typically does not change. I have made it read-only
and now simp_le fails here... Read the contents first before writing.

Continue with writing even if reading fails, you never know what odd
policies are in place.