SplitByPages modified to comply with
https://github.com/torakiki/sejda/issues/153