Disable checkEOF when processing PS files. It's perfectly valid to have an %%EOF comment in the middle of a file if it includes other documents.