only normalize cache file paths when necessary