Fixed downloading of files under Firefox