Removed unnecessary braces from dyad_writef switch-case