Push the needle through the green cap of each chili, rather than the flesh of the fruit, which could serve as an entry point for mold. You can store them in containers, thread them into a chili ristra, grind them into a paste and even infuse oil or vinegar...