Do you see changing the naming mechanism at all? Users may want to have their own way to construct file names, so I would suggest having a default naming function that you can override. For example, mock-http-proxy uses consistent hashing of the request to form the recorded response filename.