Fixed issue causing downloaded files to miss fileextensions