Add '--in-place' option for "kpm wrap"

parent #964 

Functional tests for `kpm wrap --in-place` will be added after #956 is merged.
Why doesn't this logic run in both cases?