Use posixpath sep everywhere

This fixes https://github.com/saltstack/salt/issues/4266 and is related to https://github.com/saltstack/salt/issues/4192 (which fixed some of it).

There's also a tiny docfix and small optimization in here too.