filesystem: fix typedef