MyPictureDB.file_insert() cannot insert null when using MySql