Test getHistoryDir for system files.