now stat skips md5 if file isn't readable

fixes #6092