Fixed a bug that doesn't properly check openLazyUploadBufferredFile return value