Getting file read error on temp.png when running first_column function