Write Atom.desktop file directly from template

Previously running `sudo script/grunt install` followed by `script/grunt mkdeb` would result in an error since the file created at `resources/linux/Atom.desktop` would be owned by root.

Now this file is directly written to the install location instead of written into the source tree and the copied over.

Refs #2129