filesystem: fix c strings and printing

Signed-off-by: Alberto Corona <alberto@0x1a.us>