cpp: test: Fix fileinfo clang++ compile failure