chroot: sanitize path

path was not being sanitized if it started with '/' causing chroot calls
to fail when path ended with '/'.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Merge pull request #14 from andrewgregory/trailing-slash

chroot: sanitize path