fix PDF_ACCEPT_file access