Slight optimisation to etag calculation to prevent memory copy