Fixed generateAssetName method to handle correctly paths when one of the parent directories' name equals to the name of the asset
Merge pull request #2 from carterqw/fixsamenames

Fixed a bug in generateAssetName