vfs: use __getname/__putname for getcwd() system call