Fix CAS
Due to issue https://issues.dlang.org/show_bug.cgi?id=20359, io stopped building with DMD 2.089 and later. The issue still hasn't been fixed, but the workaround was simple enough and didn't change any code really. Now builds and passes tests with the latest compiler.