Fixed bug which led to empty ath9k-workaround crontab file

The crontab file was opened in write mode but in the case where no monitor is defined it would leave an empty file.