Add try with resource in AttestateService

Solves a findbugs warning of type OS_OPEN_STREAM

Change-Id: Icc3de950499662ad34aff4d6fce67fb4414f0fb1
Signed-off-by: Alissa Bonas <abonas@redhat.com>