add path.stripext, improve doc