pkg/proxy/config: clean up file.Run()

1. Minimal indentation: following https://code.google.com/p/go-wiki/wiki/CodeReviewComments#Handle_Errors

2. not decoding if the data is equal to lastdata
Add a test case for this please.  Also, be aware of #356 while in proxy config.