remove bash, curl depends - printf's, use mktemp

bash, curl, and wget are not in base FreeBSD however fetch(1) is.

use sh instead of bash

try to use curl, wget, or fetch

use printf instead of 'echo -n'

temp outfile created via mktemp

grep -q to remove redirect
Merge pull request #3 from derekschrock/patch-1

Removed bash, curl depends - printf's, use mktemp