Handle packed peeled objects without trailing newlines

Fixes #1262