Corrected OS-X incompatiable use of echo.

The use of echo -n in the section that strips the .fits from the
variable if a .fits was causing problems in OS-X/sh.  I'm not sure
why this problem wasn't caught earlier.  The version without the
-n appears to work on LINUX and OS-X.