copy from stdin to get around rds no superuser issue