Fix aws bucket corruption issue
Use content length equal to the amount of bytes in the content and not the string length as UTF-8 uses multiple bytes for many less known characters like umlauts