use FileFd in HashSum test to unbreak non-linux ports