Run posthook after saving bower.json, fixes #1471