Fix sending files with dots without root set

fixes #39