fs_fnread: cut buffer using actual read size

Avoid uninitialized string buffer when the file is smaller than `len`
passed to `fs_nread` and `fs_fnread`.