Fixes filename truncation issue.

Fixes issue #3 -  There was something off in the calculation that was causing an off-by-some-number error.