Fix BufDelete racing problem

In certain cases the code that gets triggered by BufDelete would use
the wrong s:path due to a racing problem.

Thanks to @techlivezheng for the feedback.

Closes #30.