Fetch files through slurp when sudo is required

If the file can be read without sudoing, fetch it directly. Otherwise,
fetch it through the slurp module. The latter implies reading the
entire file into memory, so warn users against fetching large files
through sudo.