Fix FileTest and test-server storage setup

Rework testFileUploadFromLocalFile() to call methods on the correct
thread.

Fix incorrect usage of ArrayList in download().

Fix server-test to create the storage directory on startup.

Add the storage directory to .gitignore.