* lib/razor/cli/navigate.rb (extract_command): produce clean error messages

When the file passed in with --json is not valid JSON, or does not exist,
produce a clean error message instead of an inscrutable stack trace.