lib/file: add examples for the new read methods in Path

Signed-off-by: Jean Privat <jean@pryen.org>