Check whether file_name is empty whenever file_name is used.

This solves https://github.com/akira-cn/sublime-gbk/issues/10