Prepare test environment for intModeToPosix()

Will be needed for doChmod().