CLASSPATH-4: Use io/as-file instead of treating URL as file path

Signed-off-by: Stuart Sierra <mail@stuartsierra.com>