adds standard extension for path