Add \OC\TempManager to handle creating and cleaning temporary files
Use the TempManager to handle temporary files