Fixed code to create Scalpel output direct for use by Scalpel
JNI call.