Move script/rails to bin/rails in extension generator. Fixes #3904