Constructed a workaround for exporting particles with doubleprecission attr.