There are a few keys to preserving quality and ensuring food safety