Introduce buildPath() in Storage\Local to reduce the difference to MappedLocal

First step towards #12460 

@MorrisJobke @LukasReschke @DeepDiver1975 
It's a parameter that exists in the mappedlocal.php implementation. It seems to be unused thou, will investigate tomorrow