filewriter: Fix build with Clang.