Fix issue within attachment export in vBulletin 4