fix: better way to estimate filenames
misc: refactoring
fix: no more need to remove 'x-forcedownload' due to better filename recognition