Fix path arguments.