Mimics django MultipartParser in handle_upload

We need to upload big files (larger than available RAM) so we decided to mimic the django upload mecanisms so big files are temporary uploaded to hard drive (instead of memory).

This is intented to resolve issue #439 .