Write PDF to filesystem