Auto remove trailing slashes from synced folders

VirtualBox provider was having a hard time mounting the folders down here.

This also ensures that guestpath and hostpath are `Pathname`s all the time.