Handle the procfs read() concisely with "with" so that it gets closed when done.