lua-aplicado/filesystem: Changed lfs.* to posix.*

Working on #1050. Changed all lfs functions to posix functions. There is
still lfs.lock/unlock that remained untill #2569 is done.