fix dofile of nil filename
ZSync now also synchronize document settings
This should implement #628.
Merge pull request #691 from chrox/master

fix dofile of nil filename