XHR, Flash: Fix file name extracting regex to take into account query string.
Tests, XHR: When testing for http status codes do not go with fancy response type.