Close storage objects before cleaning (#16934)
Close storage objects before cleaning (#16934)

Storage.Iterate provides the path and an open object. On windows using
local storage means that the objects will be locked thus preventing clean
from deleting them.

This PR simply closes the objects early.

Fix #16932

Signed-off-by: Andrew Thornton <6a547fdd28db89120bdd70d4af1f9ba672ccd43a@cantab.net>

go-gitea/gitea,go-gitea/gitea,go-gitea/gitea