Fixed unchanged dependencies showing up as adds.

Fixes #2.
Added a CLI argument to allow writing to a file.

Closes #3.