Fixing bug when downloading a work -refs #7027

This fix just adds a "return" before file_send_for_download function call in order to obtain the file for downloading