resolve relative paths the way Listen does via #1159