Using array notation to set a file now uses the same logic as add()
Merge pull request #21 from pkruithof/git-submodule-fix

Using array notation to set a file now uses the same logic as add()