API of the FileStream class has changed in the poppler version 0.23. Added compatibility.