Allow mid-word breaking of filenames without spaces to avoid overflows

Fixes #77.