touch /etc/motd if it does not exist.

/etc/motd file does not exist on the default
Ubuntu 14.04 EC2 image. This simply touches the
file if it doesn't exist before executing the
following `file.append` function.
please use: file.exist instead of touch