When the peace officer has taken the property into custody, the peace officer is responsible for it and shall keep it in a secure place and deliver it to the party entitled to it upon receiving the lawful fees for taking and the necessary expenses for keeping it.