Open the file for reading and writing.
const FILE_READ_WRITE: FileFlags = FileFlags(O_RDWR);
open(2) and O_RDWR therein