Tweak handling of write traces with --readonly