fixed typo in filesystem helpers