Update resizepfile.sh

Initial works by 01micko