fixed seg fault bug in +export/pdf2eps