Create plugins / themes directory if it doesn't exist

On fresh installs, the plugins or themes directory may not yet exist. Rather than failing when installing a plugin or theme, let's be helpful and create the directory.