fixed bug where hostname with periods would end up being placed in the resultant filename.  That is definitely not a good idea.