Is there an unbiased estimator of PMF of a random variable $Y=\sum_{i=1}^{n} X_n $ where $X_i$ are independent Bernoulli trials with probability $p$, that is, the estimator of: \begin{equation}\tag{1} f(k,n)=P(Y=k|n)={n\choose k}p^k(1-p)^{n-k} \end{equation} for an arbitrary $n \geq 0$ and $n\geq k \geq 0$ when based on a sample of $s $ observations from that said Bernoulli RV; $\lbrace x_i\rbrace_{i=1}^{s}$?
More info and progress so far:
An obvious candidate for the estimator of PMF would be:
\begin{equation}\tag{2}
\hat{f}(k,n)={n\choose k}\hat{p}^k(1-\hat{p})^{n-k}
\end{equation}
where $\hat{p}= \frac{\sum_{i=1}^{s}x_i}{s}$. That is consistent but clearly not unbiased as apparent from Jensen's inequality.
So far I found that the estimator based on hypergeometric distribution:
\begin{equation}\tag{3}
\hat{f}(k,n)=\dfrac{{\hat{p}*s\choose k} {s-\hat{p}*s\choose n-k}}{{n\choose k}}
\end{equation}
with $\hat{p}$ defined as above seems to be unbiased (at least in my simulations, although I wasn't able to prove it). This function $\hat{f}(k,n)$ is however usefull only for $n\leq s$. Does there exist some unbiased estimator of $f(k,n)$ which would work also for $n>s$? (Possibly some correction of estimator (2) or some generalization of estimator (3). Or something completely different.)