Uploads

Fixed file uploads. Without name collision handling and stuff. But it
works ;)