pub fn set_data_dir(path: PathBuf)
Set a custom data directory. Must be called before any path functions.