test_win_keygrab: Better use strncpy when copying into fixed size buffer.
test_win_keygrab: Better use strncpy when copying into fixed size buffer.

We should never copy more than PATH_MAX.

CID: 1298016

tasn/elementary,tasn/elementary,rvandegrift/elementary,tasn/elementary,rvandegrift/elementary,FlorentRevest/Elementary,rvandegrift/elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,rvandegrift/elementary,FlorentRevest/Elementary,FlorentRevest/Elementary