Usual lack of protection against buffer overflows when manipulating strings. Also add some basic tests for `BLI_path_rel`.