Set a limit on the maximum length of a post file_name.

Fixes issue #40.