using perl for platform-neutral stat

closes #83
Merge branch 'devel' of https://github.com/joshua-decoder/joshua into devel