Allow the user to read a file on a remote server
The purpose of this MR is to move the logic which allows summarypages
to read a file on a remote server into the main pesummary.io.read
function so other executables can benefit from this feature.