Set the content length again using getBytes