Update run_writedataset.m

fixed bug in run_writedataset causing file to always be written to bcilab/userdata