Merge pull request #1 from jlamothe/master

proper number for factor
prevent buffer overflow in filename
make room for the .dpu suffix