Every officer having the custody of a public record or writing shall furnish any person, upon demand and payment of the legal fees therefor, a certified copy thereof.