Log unsuccessful temp file creation and return false

Ref https://github.com/owncloud/core/issues/9527#issuecomment-50277438
@th3fallen I totally agree but most of peple here like `===` and `!==` better :)