Adds Content-Length headers when serving photos and photo requests