Also dont generated corrupted output for larger than 4gb strings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>