Add suffix to tempnam()

Implementation of this RFC:
https://wiki.php.net/rfc/tempnam-suffix