Creates a local path constructed from basepath / fileprefix + "-" + filename, and makes sure the
path basepath exists.
If creation of the path fails, then NULL is returned.
| basepath |
base path of a file name; this is left unchanged |
| fileprefix |
prefix for the filename; this is encoded |
| filename |
file name to use; this is encoded; can be null |
| fileindex |
used when |
|
Full local path like build_filename except that |