CBlock::WriteToDisk() properly checks ftell(3) for error return
CBlock::WriteToDisk() properly checks ftell(3) for error return

Rather than storing ftell(3)'s return value -- a long -- in an
unsigned int, we store and check a properly typed temp.  Then, assured a
non-negative value, we store in nBlockPosRet.

coinkeeper/2015-06-22_19-10_cannacoin,coinkeeper/2015-06-22_18-46_reddcoin,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,reddink/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,joroob/reddcoin,reddcoin-project/reddcoin,ahmedbodi/poscoin,coinkeeper/2015-06-22_18-46_reddcoin,Cannacoin-Project/Cannacoin,ahmedbodi/poscoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,reddcoin-project/reddcoin,ahmedbodi/poscoin,reddink/reddcoin,Cannacoin-Project/Cannacoin,Cannacoin-Project/Cannacoin,Cannacoin-Project/Cannacoin,joroob/reddcoin,Cannacoin-Project/Cannacoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,ahmedbodi/poscoin,joroob/reddcoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_18-46_reddcoin,bmp02050/ReddcoinUpdates,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,joroob/reddcoin,ahmedbodi/poscoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,joroob/reddcoin