It might make sense to dump this into the hyracks or pregelix tmp directory instead.