readfile: Handle failure in open()

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
Merge pull request #10 from ovirt-infra/readfile_errchk

readfile: Handle failure in open()