fs.c: make sure to allocate space for a \0

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>