Fix filenames not showing up when downloading Resources