Add width option for filename template

Fixes #138.