Fix buglet for check on trailing .mat when length of filename less than 4 chars.

Signed-off-by: David Brainard <brainard@psych.upenn.edu>