erts: First file:write went through