Bugfix: don't crash when file disappears.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>