Make sure the share name is propperly terminated.