Fix file case issue on macosx.
Merge pull request #6507 from ktf/fix-heppy

Fix file case issue on macosx.