Implement better folder checking

Fixes #2360, thanks @clinton_hall
Make sure Transmission folders are 'normpath'-ed