App crash when meta is null in mkfile

Causes ajaxorg/cloud9#2713.