tasks: Adding chdir() and getcwd() syscalls