Fixed extensionless file download bug