makes sure relative paths start with "./" or "../"