Don't barf on readonly files if contents haven't changed

Fix for #94