file download working but chrome interprets as a document