Log unsuccessful temp file creation and return false

Ref https://github.com/owncloud/core/issues/9527#issuecomment-50277438
meh if that's the case who am i to change it, everything looks fine to me.