add some path manipulation functions/aliases

Signed-off-by: Christopher Hall <hsw@openmoko.com>