Test opened file descriptor

Test the already opened file descriptor rather than opening it again as
a test.
Update GPL boilerplate

The mailing address for the Free Software Foundation was incorrect in
the GPL boilerplate.

Thanks Walter Fey, DL8FCL for reporting this issue.