Added handling of File's property «filename» for setting new filename while saving

Small changes to enable uploaded file naming before store.

Also some small cosmetic phpdoc improvements.