using a more cross-version way of getting the scheme
of a filesystem