Fine-Grained Complexity of Regular Path Queries (Logical Methods in Computer Science, 2023)