Temporary fix to allow file output