Make sure we don't end up with double trailing slashes. We should also respect the platforms directory separator.
Bump knox to 0.7 to add support for regions other than US and putFile.