Fix to avoid overwriting the directory
Merge pull request #36 from papix/avoid_overwriting

Fix to avoid overwriting the directory