further getContentLengthLong() tweaks