Support {priv, AppName, Relpath} form for dir entries