[skin] fix file detection for pointers.