Rewrite the file without extra metadata. Scanned PDFs may not shrink much — this is honest, local compression.