Rupee opens marginally higher at 82.49 to a dollar