Bugfix: check that the error is not a FileNotFound (ENOENT) error