Removed a superfluous err != nil check from the objectstore file upload method.