Shorten test output paths used when testing native binary samples

- This should help alleviate issues where we end up with file names too long for Windows to handle.
Javadoc fix.