Remove an unnecessary directory layer.