Add unit test for the fsio_access() function, as part of tracking down the
culprit for Bug#4141.