Update mq_store_file.c

adjust free disk space check to first.