SMB write is greased lightning
using end instead of cap to prevent reordering in more cases
fixed bug in bz2: string handling
adding check for bad paths