Catch IOError instead of PageFrameError
Merge branch 'hotfix/pageframe'