prepending any dirname (because otherwise this clobbers files with the same name in different dirs)
Merge pull request #7 from dominicbarnes/basename_bug

Bug Found: Stylesheets with the same name, but in different dirs get clobbered