use fs. instead of path.
Fixes to work with unix