utils.py: remove unused BOUNDARY var, and make sample_pk required for download_sample