If cssPath contains a filename return dirname for path.relative function below
Merge pull request #23 from gregori-goossens/csspath-with-filename

Prevent an extra "../" in background-image url with cssPath filename option