set file upload limit to 1MB

If the file exceeds this size, PDO is not going to be very happy