parser: fix opening a non-existing file

Signed-off-by: Alberto Corona <alberto@0x1a.us>