Use utils.fs.File, not raw opens

Use utils.fs.File so we can potentially test this code someday

Change-Id: I92deb6ac5a87887650fa2a80abc6ed09778e5853
Signed-off-by: Ryan Barry <rbarry@redhat.com>