[WIP/RFC] Add unit tests for buffer.c and fileio.c

Actually, just casting to `(char_u **)` works fine.

```c
gen_expand_wildcards(1, (char_u **) NameBuff, &fcount, ...);
```

I think that's a bit cleaner, in my opinion.