vfs: add prepend_path() helper