fix: writing neurons in subdirs when df is null

* when neuronlist did not have an attached data.frame but you set subdir=
  expression to be evaluated in the current environment (rather than in the
  context of the attached data frame) then there was an error
* +test