smb.php should use sys_get_temp_dir() instead of hard coded /tmp

In restricted environments with open_basedir activated, it's necessary to use the configured temp path. /tmp itself is most likely not in open_basedir.