Ignore coverity scan build directory
close the input/output file after loading hosts
Initialize variable device, fixes #8
initialize loopback_ to false in constructor, fixes #9
catch runtime_error exception, fixes #10