Fix for skipMissing flag, correctly checking os error for non-existent
file.