portability changes in action_md5file()