Add more checking for uploaded files using getimagesize()