Fixed IE specific bugs, missing extension of downloaded file and missing user-agent in request