Don't do any changes to file when running in check mode

Currently the module reports check mode being supported. However the
option is ignored and target file is being changed even when running
in check mode.