Introduce path cleaning

A new function sp is introduced. It does the same as ss but also cleans the path so that we can do things like 'if folder in other_folder' without worrying.