[LIBS] vfs: Implement write support for FAT filesystem

This patch add file write support for FAT filesystem.

The FAT filesystem is still work in progress hence this patch
is not tested much.

Signed-off-by: Anup Patel <anup@brainfault.org>