client-test: don't return file pointer as a flag