Make sure the plugins and themes directories exist

Before installing plugins and themes, we need to make sure the
corresponding directories exist in wp-content