Close page files properly.

Apparently Pathname objects support "all" of File, except #close.