Passing contentLength option for attachment. Useful for piped streams used in conjunction with servers that requires HTTP Content-Length, such as nginx.