attempt at fixing file download IE compatibility