Ah, I bet this is the issue: if `cb_name = nil` and `tmdir = '/tmp/blah'` then effectively:

```ruby
File.join('/tmp/blah', nil) # TypeError: can't convert nil into String
```

My bad…