strip path from temporary file pattern