bcf_write: sanity check the number of samples, resolves #55