Use Pathname#read instead

I think that `Pathname#read` can be used instead of using `IO#read` with `Pathname` instance...

Are there any reasons?