i feel very very stupid. I've been wrestling with permissions and why i couldn't write files...and i figured it out. They already existed...
*sigh* at least now i know.