filesetup: fix a bug where we overwrite the set size