Added check on fopen
Added check on fopen

After a file stream has been opened, we do a quick check that the file
handle does not equal False.

jwcarr/SimpleSignUp,jwcarr/SimpleSignUp,jwcarr/SimpleSignUp