Close page files properly.

Apparently Pathname objects support "all" of File,
except #close.
Merge pull request #7 from alphagov/close-page-files-properly

Close page files properly.