Fix open filehandles
Fix open filehandles

This fixes two cases of filehandles being left open by failing to use a
with clause.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt