Fix sync problems when using custom todo.txt file location and setting a path with a trailing /.