From fold, sew a straight basting stitch to the end. Repeat on the other side, making sure to start from the fold, so the bag won't have a pucker toward the bottom/fold. Trim strings.
There's the bag. I slipped the pocketbac in the bottom, and two Ghiradelli chocolate squares. They fit exactly.
Here they are. Easy and cheap and flexible. Fill with whatever you want.