Expands path using expand and returns a
File for the expanded path.
To reverse the expansion, use file_get_config_path.
| path |
a NUL-terminated string in UTF-8 encoding |
|
a newly allocated File, or null if the expansion failed. |