Fixed: now use temporary files instead of memory when needed