Fixed an error where a PackageAssembler would return a string with the wrong length.