Die if open() fails.
Merge pull request #6 from atz/master

Die if open() fails.

Signed-off-by: Jeff Godin <jgodin@tadl.org>