Path validation

Prevent torrents from creating files or directories outside the working
directory