s3 perfcount: Fix segfault with smbclient 'echo 3 foo'