Move the POSIX-specific fd:// and file:// scheme handling into separate methods. Replace the custom GetURLAddress() matching with splitting into scheme and path, and matching scheme via llvm::StringSwitch. Use early returns. Differential Revision: https://reviews.llvm.org/D111321