If any private person shall have or obtain possession of any books, records, or papers appertaining to any public officer, he or she shall deliver them to the officer entitled to them, and if he or she fails so to do, he or she shall be proceeded against in all respects as is provided in this subchapter in cases of officers.