add support for reading password from a file

This resolves #2 from cbbrowne.
correct bug in getopt.getopt call

with this change the long option --password-file now actually works.