Add hostname to the filename to support writing multiple files in parallel