Improve intl filename support, fixes #23