Temporary fix to not make dummy file for files that are marked online but are not online yet.
When a file is marked to be put online but has not been put online yet, the api will write an error message. Instead of making a file and dumping that message into the file, check the size of the response and do not write a file if the message is only an error. This is a temporary fix while we work on a better solution.