fix compile of toft/storage/path

To use getcwd as defined in POSIX, unistd.h should be included.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/getcwd.html