[Filesystem] fixed a test broken after merging the 2.3 branch