Bash Script Create Log File With Multiple Extensions