[fs] make fsize explicitly long so that it is signed