It now closes the new file opened by Atom on startup.

It's a bit hacky, but it at least works. Atom also prints an error which
is a bit bothersome, but again, it at least works.