Return a changes dictionary for file.managed in test=true mode

Submitting against 2014.7 because this is a bug fix.