jsonrpc: fix bad if condition in CFooLibrary::FillFileItem