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

First step towards #12460 

@MorrisJobke @LukasReschke @DeepDiver1975 
protected yes, otherwise I cant overwrite it in mappedlocal later. thanks for the hint.