Simple low-level PDF parser and editor