[FileSystem] Major fixes on API

Before patch:               After patch:
pass 22 / 261 fail          pass 206 / 68 fail

Initially the path and fullpath were wrong, after some tests on WRT
we solve this problem. This patch also fixes exceptions in general.