WELLINGTON (Reuters) - A New Zealand court refused an appeal by the founder of online file-sharing site Megaupload.com to be freed on bail, Friday, agreeing with prosecutors there was a risk he would attempt to flee before an extradition hearing.