requesting entire file now uses generic application/octet-stream MIME type; improved tests a bit