Fix #228: -bash should be -e if -e is used.
Implemented File.dup.
Merge branch 'master-1.9' of github.com:MagLev/maglev into master-1.9