Log unsuccessful temp file creation and return false

Ref https://github.com/owncloud/core/issues/9527#issuecomment-50277438