Use hard links to copy from previous to next backup path on EBS volume

Fix potential IndexOutOfBounds exception when checking on volume attachment state
Fix bug where copying script from jar to tmp file output was incorrect
Optimize remotePrefixBase