unixify
DRY path2uri function + variable prefix