return the exit code from called sub

The caller should return the exit code it wants to set
die with an error if we can't make a slug

If we don't have enough information to make a slug, we shouldn't allow
leaving the file name blank.

Fixes #76