Tweak download file and xsendfile Closes #106