set appropriate content-disposition