Improved filename header parsing.

refs #5837

Improved how the Content-Disposition header is parsed in the
transfer REST API.