Fix path export.