Version 0.5.4 introduced changes to raster2pgsql.py to handle postgis 2.0.