According to https://tools.ietf.org/html/rfc1738#section-5 the file URLs must always start with "file://", so ensure that this is indeed the case. Closes #16209.