Make sure public://pdfpreview is writeable