Revert php://temp to tmpfile().

php://temp was a good idea regarding performances but the stream content
is no more accessible from its name.