File.executable? returns false for files that do not exist

It's currently raising an error because it tries to call `mode` on nil.