ENH: Test CanWriteFile.
ENH: CanReadFile.