Fix the case where file_name is nil.

This can happen on line 96, causing line 106 to blow up.
Merge pull request #69 from stvp/fix_nil_file_names

Fix the case where file_name is nil.