Change hdf5 output layer test output file to use tmpnam

...rather than a hard-coded path, which causes the test to crash if the file exists and you do not have write access to it (e.g. when multiple users on a single machine run the Caffe unit tests).  Please always use tmpnam (or the like) for any temporary files.