Added handling of file:/// and puppet:/// style URLs.