8029181: ts.sh generates invalid file after JDK-8027026

Reviewed-by: vinnie, mullan
1 file changed