fix reg in appender

Fixes the horrible reg I introduced in #1529

https://github.com/D-Programming-Language/phobos/pull/1529/files#r7536782