fixes #36 upload on big files
fixes #37 check max size on write to remote filesystem
fixes #32 removed filetype header
fixes #31 fixed jpg download in ajax wrapper in IE