Writes the encoded PDF to the file at path, creating any missing parent directories.
absolute or working-directory-relative file system path.