fixing issues with download action after potential changes to geolite ma...

Fixes to download action for geolite maxmind database.
refactoring downloadAction to use built-in php functions and zf2 http request. 
I knew there was one more thing left to change. Just realised I tested this on my previous code changes and not the knew one :(